package com.niiwoo.activity.stage.dto.response.cashactivity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;

@Data
public class ParticipateResponseDTO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 2286562075542133019L;

	private Byte activityType;
	
	private String userId;
	
	private String userName;
	
	private Byte userType;
	
	private Byte sendType;
	
	private String mobile;
	
	private Integer totalRewardPeople;
	
	private Byte activityStatus;
	
	private BigDecimal oneMonthInvestAmount = BigDecimal.ZERO;
	
	private BigDecimal oneMonthAwardAmount = BigDecimal.ZERO;
	
	private BigDecimal twoMonthInvestAmount = BigDecimal.ZERO;
	
	private BigDecimal twoMonthAwardAmount = BigDecimal.ZERO;
	
	private BigDecimal threeMonthInvestAmount = BigDecimal.ZERO;
	
	private BigDecimal threeMonthAwardAmount = BigDecimal.ZERO;
	
	private BigDecimal sixMonthInvestAmount = BigDecimal.ZERO;
	
	private BigDecimal sixMonthAwardAmount = BigDecimal.ZERO;
	
	private BigDecimal nineMonthInvestAmount = BigDecimal.ZERO;
	
	private BigDecimal nineMonthAwardAmount = BigDecimal.ZERO;
	
	private BigDecimal twelveMonthInvestAmount = BigDecimal.ZERO;
	
	private BigDecimal twelveMonthAwardAmount = BigDecimal.ZERO;
	
	private BigDecimal eighteenMonthAwardAmount = BigDecimal.ZERO;
    
    private BigDecimal eighteenMonthInvestAmount = BigDecimal.ZERO;
    
    private BigDecimal twentyFourMonthAwardAmount = BigDecimal.ZERO;
    
    private BigDecimal twentyFourMonthInvestAmount = BigDecimal.ZERO;
	
	private Date participateDate;

	private Byte isShowPrePublisButton;
	private Byte isShowPublisButton;
	
	public BigDecimal getTotalInvestAmount() {
        return oneMonthInvestAmount.add(twoMonthInvestAmount).add(threeMonthInvestAmount)
        		.add(sixMonthInvestAmount).add(nineMonthInvestAmount).add(twelveMonthInvestAmount).add(eighteenMonthInvestAmount)
        		.add(twentyFourMonthInvestAmount);
    }

    public BigDecimal getTotalAwardAmount() {
        return oneMonthAwardAmount.add(twoMonthAwardAmount).add(threeMonthAwardAmount)
        		.add(sixMonthAwardAmount).add(nineMonthAwardAmount).add(twelveMonthAwardAmount).add(eighteenMonthAwardAmount)
        		.add(twentyFourMonthAwardAmount);
    }
}
